package builder.v0;

/**
 * Created by Administrator on 2022/9/28.
 */
public abstract class House {
    public abstract void buildBase();//打地基

    abstract public void buildWalls();//砌墙

    public abstract void buildRoof();//封顶

    public void buildHouse() {
        buildBase();
        buildWalls();
        buildRoof();
    }

    protected int base;
    protected int wall;
    protected int roof;

}
